//
//  CanvasController.m
//  iCodeMac
//
//  Created by Andrew Barry on 28/03/09.
//  Copyright 2009 Barry Computer Services. All rights reserved.
//

#import "CanvasController.h"


@implementation CanvasController
-(void) awakeFromNib {
	[self bindText:nameControl toProperty:@"name"];
	
	[self bindInt:leftControl toProperty:@"left"];
	[self bindInt:topControl toProperty:@"top"];
	[self bindInt:widthControl toProperty:@"width"];
	[self bindInt:heightControl toProperty:@"height"];
	
	[self bindCheckbox:lockLeft toProperty:@"lockLeft"];
	[self bindCheckbox:lockTop toProperty:@"lockTop"];
	[self bindCheckbox:lockRight toProperty:@"lockRight"];
	[self bindCheckbox:lockBottom toProperty:@"lockBottom"];
}

@end
